
#article,
.details {
    display: block;
    padding: 20px;
    display: flex;
    height: 100%;

    &::after {
        content: "";
        display: table;
        clear: both;
    }

    aside {
        width: 240px;

        &>div {
            background: #fff;
            margin-bottom: 20px;
            box-shadow: 0 1px 3px 0 rgb(26 26 26 / 10%);

            h3 {
                padding: 20px 20px 0;
                color: #424F60;
                font-size: 14px;
            }

            ul {
                li {
                    text-overflow: ellipsis;
                    overflow: hidden;
                    white-space: nowrap;
                    line-height: 32px;
                    cursor: pointer;
                    border-top: 1px solid #E1E4EB;
                    padding: 10px 20px;
                    transition: all .3s ease;



                    a {
                        color: #666;
                        display: block;
                        width: 100%;
                        height: 100%;

                        .anticon {
                            font-size: 12px;
                        }
                    }

                    &:hover {

                        background: #e8f4ff;
                        color: #2196f3;
                    }
                }

                .active {
                    background-color: #e8f4ff;
                    color: #2196f3;
                }
            }

            .search-box {
                padding: 0 10px 20px;
            }

        }


    }

    article {
        // width: calc(100% - 240px);
        width: 820px;
        display: block;
        background: #fff;
        box-shadow: 0 1px 3px 0 rgb(26 26 26 / 10%);
        padding: 0px 30px;
        margin-left: 20px;
    }
}

#article .article-message,
.details .article-message {
    display: flex;
    margin: 10px 0;
    color: #91A2B4;

    &>div {
        margin-right: 30px;

        .anticon {
            margin-right: 8px;
        }
    }
}

#article {
    height: 100%;

    article {
        padding: 0;

        .skeleton {
            padding: 20px;
        }

        .article-box {
            padding: 0 30px;
            height: 91%;
            overflow: auto;

            .article {
                border-bottom: 1px solid #E1E4EB;
                padding: 30px 0;
            }

            h3 {
                font-size: 24px;
                color: #445162;
                margin-bottom: 7px;
                -webkit-line-clamp: 2
            }



            .content-box {
                display: flex;

                .image-box {
                    width: 30%;
                    margin-left: 18px;
                    overflow: hidden;
                    max-height: 150px;

                    img {
                        transition: all .3s;
                        width: 100%;
                        border-radius: 4px;
                        cursor: pointer;

                    }
                }

                p {
                    width: 100%;
                    margin: 30px 0;
                    color: #4d5258;
                    line-height: 30px;
                    cursor: pointer;
                    -webkit-line-clamp: 4;
                }
            }

            .ant-btn {
                width: 140px;
                height: 44px;
                border-color: #445161;
                color: #445161;

                &:hover {
                    color: #fff;
                    background: #445161;
                }
            }
        }

        .pagination {
            text-align: center;
            margin: 20px;
        }
    }

    aside {
        .label-box {
            background: #fff;

            div {
                padding: 0 10px 10px;

                span {
                    display: inline-block;
                    border: 1px solid #9EA4AD;
                    padding: 0px 16px;
                    font-size: 12px;
                    cursor: pointer;
                    line-height: 25px;
                    height: 25px;
                    margin: 5px;
                    transition: all .3s ease;

                    &:hover {
                        background-color: #e8f4ff;
                        color: #2196f3;
                        border-color: #2196f3;
                    }
                }

                .active {
                    background-color: #e8f4ff;
                    color: #2196f3;
                    border-color: #2196f3
                }
            }
        }
    }

}

.details {

    ol li {
        list-style: decimal;
    }

    header {
        background: #fff;
        margin-bottom: 20px;
        padding: 10px;
        display: flex;
        align-items: center;
    }

    article {
        background: transparent;
        box-shadow: none;
        padding: 0;
        height: 100%;
        overflow: auto;

        &>div {
            padding: 0px 30px;
            background: #fff;
            box-shadow: 0 1px 3px 0 rgb(26 26 26 / 10%);
            margin-bottom: 20px;
        }
    }


    .skeleton {
        margin: 1.667rem 0;
    }

    h1 {
        font-size: 34px;
        font-weight: 600;
        line-height: 1.31;
        color: #252933;
        padding: 1.667rem 10px;
    }

    .fabulous {
        text-align: center;

        .thums-up {
            margin: 0 auto;
        }
    }

    .prevNext-box {
        height: 100px;

        &>div {
            cursor: pointer;

            .anticon-arrow-left {
                margin-right: 20px;
            }

            .anticon-arrow-right {
                margin-left: 20px;
            }
        }

    }

    .comment {

        .comment-nested-reply-to,
        .comment-like {
            &:hover {
                color: #1e80ff;
            }
        }

        .comment-nested-reply-to {
            cursor: pointer;
            margin-left: 30px
        }

        // .ant-comment {
        //     .ant-comment-content-detail {
        //         margin: 10px 0;
        //     }
        // }

        .openBtn {
            background-color: rgba(133, 144, 166, 0.15);
            color: rgb(133, 144, 166);
            font-size: 14px;
            border: 1px solid transparent;
            border-radius: 3px;
        }

        .chatTool {
            background: #fff;
        }
    }

    .pagination {
        padding: 30px 0;
        text-align: center;
    }

    aside {
        div {
            h3 {
                line-height: 34px;
                border-left: 5px solid #2196f3;
                padding: 6px 10px;
                margin: 0;
                background-color: #fff;
            }
        }

        .issFixed {
            width: 240px;
            position: fixed;
            top: 66px;
            right: 365px;
            z-index: 4;
        }

    }

}